home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cgraphix
/
invertsc.asm
< prev
next >
Wrap
Assembly Source File
|
1986-04-30
|
503b
|
49 lines
title - AGraphix - assembler routines for Graphix.c
include model.h
include prologue.h
@CODE ends
@DATAI SEGMENT
extrn GrafBase:word
@DATAI ENDS
BAY equ @ab[bp]
public InvertScreen
@CODE SEGMENT
InvertScreen proc near
push bp
mov bp,sp
push ds
mov cx,8192
xor ax,ax
mov si,ax
mov di,ax
mov ax,GrafBase
mov ds,ax
mov es,ax
is1: lodsw
not ax
stosw
loop is1
pop ds
pop bp
ret
InvertScreen endp
include epilogue.h
end